package xcmg.device.service.vo.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * GPS同步订单head表 VO类
 */
@ToString
@Data
public class GpsMmJisoPoHeadVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "订单ID", name = "poHeadId")
    private Long poHeadId;
    @ApiModelProperty(value = "同步订单号", name = "poNumber")
    private String poNumber;
    @ApiModelProperty(value = "到货工厂", name = "arrFactory")
    private String arrFactory;
    @ApiModelProperty(value = "供货商代码", name = "supplierno")
    private String supplierno;
    @ApiModelProperty(value = "出货地代码", name = "factoryid")
    private String factoryid;
    @ApiModelProperty(value = "到货仓库", name = "warehouse")
    private String warehouse;
    @ApiModelProperty(value = "创建时间", name = "entrydate")
    private Date entrydate;
    @ApiModelProperty(value = "路线代码", name = "routeCode")
    private String routeCode;
    @ApiModelProperty(value = "出货时间", name = "sendTime")
    private Date sendTime;
    @ApiModelProperty(value = "到货时间", name = "arriveTime")
    private Date arriveTime;
    @ApiModelProperty(value = "车次:1-999循环", name = "carBatch")
    private Integer carBatch;
    @ApiModelProperty(value = "车次一直递增", name = "carBatchHis")
    private Long carBatchHis;
    @ApiModelProperty(value = "组织ID", name = "orgId")
    private String orgId;
    //更新时间(UPDATE_TIME)
    @ApiModelProperty(value="更新时间",name="updateTime")
    private Date updateTime;
    //供货商名称(SUPPLIER_NAME)
    @ApiModelProperty(value="供货商名称",name="supplierName")
    private String supplierName;

    private List<GpsMmJisoPoLineVoteVO> detailList;

    @ApiModelProperty(value = "下游企业orgId")
    private String downOrgId;
    @ApiModelProperty(value="订单号码",name="orderNo")
    private String orderNoLike;
    @ApiModelProperty(value="创建时间start",name="entrydateStart")
    private Date entrydateStart;
    @ApiModelProperty(value="创建时间end",name="entrydateEnd")
    private Date entrydateEnd;
    @ApiModelProperty(value="发货状态,0未创建  1已经创建发货单",name="deliveryState")
    private Integer deliveryState;
    @ApiModelProperty(value="更新人",name="updateId")
    private String updateId;

    private List<Long> poHeadIds;

    @ApiModelProperty(value = "出库仓库", name = "outWarehouse")
    private String outWarehouse;
    @ApiModelProperty(value = "出库库区", name = "outArea")
    private String outArea;
}
